/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconSound: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M476.48 166.528A64 64 0 0 1 576 219.84V804.16a64 64 0 0 1-99.52 53.28l-230.176-153.504L160 704a64 64 0 0 1-63.84-59.2L96 640v-256a64 64 0 0 1 64-64h86.304z m312.896 35.424A414.976 414.976 0 0 1 928 512c0 119.904-51.04 231.616-138.624 310.048a32 32 0 1 1-42.688-47.68A350.976 350.976 0 0 0 864 512c0-101.504-43.136-195.968-117.312-262.336a32 32 0 0 1 42.688-47.68zM512 219.84l-224 149.312v285.728l224 149.344V219.84z m182.88 113.056A255.232 255.232 0 0 1 768 512c0 67.84-26.56 131.616-73.12 179.136a32 32 0 0 1-45.728-44.8A191.232 191.232 0 0 0 704 512a191.232 191.232 0 0 0-54.816-134.336 32 32 0 1 1 45.696-44.8zM224 384H160v256h64v-256z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconSound.defaultProps = {
  size: 18,
};

export default IconSound;
